﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace CMS
{
    public class CmsApplication : System.Web.HttpApplication
    {
        bool isInit = false;
        protected void Application_BeginRequest()
        {
            if (!isInit)
            {
                Registry.Instance.Initialize();                
                isInit = !isInit;
            }
            else
            {
                string str = "";
            }
        }
    }
}
